<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    function to(){
        location.href="login.html"
    }
    setInterval("to()",5000)
</script>
</html>